package com.zb.view;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zb.entity.ZjStore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author WEN
 * @Date 2024/3/29 0029
 **/
@Data
@ApiModel("仓库与仓库商品库存视图表")
@TableName("view_store_store_goods_stock")
public class ViewStoreStoreGoodsStock extends ZjStore implements Serializable {
    @Serial
    private static final long serialVersionUID = -5879779300049119129L;

    @ApiModelProperty(value = "仓库商品库存ID")
    private Long storeGoodsStockId;

    @ApiModelProperty(value = "仓库仓位ID")
    private Long storePositionId;

    @ApiModelProperty(value = "商品类型：1-成品，2-配件")
    private Integer goodsType;

    @ApiModelProperty(value = "商品ID")
    private Long goodsId;

    @ApiModelProperty(value = "商品规格ID")
    private Long goodsSpecId;

    @ApiModelProperty(value = "系统库存/即时库存")
    private Long systemStock;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;
}
